package com.ktjiaoyu.service;

import com.ktjiaoyu.entity.StorageRecord;
import com.ktjiaoyu.entity.SysUser;
import com.ktjiaoyu.utils.Page;

import java.util.List;

public interface StorageRecordService {
    public int saveBatch(List<StorageRecord> storageRecordList);

    public Page<StorageRecord> findPage(StorageRecord entity, Integer pageNo, Integer pageSize)throws Exception;

    public boolean saveOrUpdate(StorageRecord entity)throws Exception;

    public StorageRecord findById(Long id) throws Exception;

    public StorageRecord findBySrCode(String srCode) throws Exception;

    public int deleteById(Long id) throws Exception;
}
